package com.yike.user.service;

import com.yike.user.entity.OpenDoorRecord;
import com.yike.user.param.OpenDoorRecordPageParam;
import com.yike.common.base.BaseService;
import com.yike.common.pagination.Paging;
import com.yike.user.vo.OpenDoorRecordVo;

/**
 * 店铺开门记录表 服务类
 *
 * @author Sakura
 * @since 2024-09-04
 */
public interface OpenDoorRecordService extends BaseService<OpenDoorRecord> {

    /**
     * 保存
     *
     * @param openDoorRecord
     * @return
     * @throws Exception
     */
    boolean saveOpenDoorRecord(OpenDoorRecord openDoorRecord) throws Exception;

    /**
     * 修改
     *
     * @param openDoorRecord
     * @return
     * @throws Exception
     */
    boolean updateOpenDoorRecord(OpenDoorRecord openDoorRecord) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteOpenDoorRecord(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param openDoorRecordPageParam
     * @return
     * @throws Exception
     */
    Paging<OpenDoorRecordVo> getOpenDoorRecordPageList(OpenDoorRecordPageParam openDoorRecordPageParam) throws Exception;

}
